import org.w3c.dom.css.Rect;

import java.awt.*;

class Shape{
    public void draw(){
        System.out.println("画图");
    }
}
class Juxing extends Shape{
    public void draw(){
        System.out.println("矩形");
    }
}
class Cycle extends Shape{
    public void draw(){
        System.out.println("⚪");
    }
}
class Flower extends Shape{
    public void draw(){
        System.out.println("❀");
    }
}
public class J2410241 {
    public static void func(Shape shape){
        shape.draw();
    }

    public static void main(String[] args) {
        Cycle cycle = new Cycle();
        Juxing rect = new Juxing();
        Flower flower = new Flower();
        Shape shape = new Cycle();

        func(new Cycle());
        func(new Flower());
        func(cycle);
        func(flower);
        func(rect);
        func(flower);
    }
}
